//
//  NSString+FromNSDate.m
//  KeepFit
//
//  Created by Fuzzie Liu on 15/11/5.
//  Copyright © 2015年 Fuzzie Liu. All rights reserved.
//

#import "NSString+FromNSDate.h"

@implementation NSString (FromNSDate)

- (NSDate *)dateFromString
{
    NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
    [formatter setDateFormat:@"YYYY年MM月dd日 HH小时mm分"];
    return [formatter dateFromString:self];
}

@end
